// pages/mine/mine_Physical_money/Phy_money.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
      colorList:[{
        month:"6月份",
        sum: "4500.00",
        color: "#F8B50A",
      }, {
          month: "7月份",
          sum: "1500.00",
          color: "#F1534E",
        }, {
          month: "8月份",
          sum: "6500.00",
          color: "#C990D2",
        }, {
          month: "9月份",
          sum: "1500.00",
          color: "#7EDA7F",
        }, {
          month: "10月份",
          sum: "2500.00",
          color: "#65B0F7",
        }
      ]
  },
  jumpMineWine: function (event) {
    var thisId = event.currentTarget.id, url = '';
    if (thisId =="Deposit"){
      url = "/pages/mine/mine_Physical_money/Phy_withdraw_detail/Phy_withdraw_detail";
    } else if (thisId=="moenyDetail"){
      url = "/pages/mine/mine_Physical_money/Phy_money_detail/Phy_money_detail";
    } else if (thisId == "haveWithdraw"){
      url = "/pages/mine/mine_Physical_money/Phy_wdeposit_detail/Phy_wdeposit_detail";
    } else if (thisId=="mayWithdraw"){
      url = "/pages/mine/mine_Physical_money/Phy_withdraw_detail/Phy_withdraw_detail";
    }
    wx.navigateTo({ url: url });
  },
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },
  //跳转页面
  jumpMoeny: function () {
    wx.redirectTo({
      url: '/pages/mine/mine_Physical_accounts/Phy_accounts'
    });
  },
  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})